package org.wannatrak.android.helper;

import org.json.JSONObject;

import java.util.Map;

/**
 * @Author: Maksim Tulupov maxtulupov@gmail.com
 * @Date: $Date: 2011-06-14 13:32:03 +0000 (Tue, 14 Jun 2011) $ 2:42 PM
 * @version: $Revision: 2 $
 * @id: $Id: JsonHelper.java 2 2011-06-14 13:32:03Z maxtulupov@gmail.com $
 */
public class JsonHelper {

    public static JSONObject createJsonObject(Map<String, ?> data) {
        if (data == null) {
            return null;
        }
        JSONObject o = new JSONObject(data);
        return o;
    }
}
